<?php
require_once('GlobalStatistics.php');

/**
 * Statistiken eines einzelnen Fahrers.
 *
 * @author Timo
 */
class DriverStatistics extends GlobalStatistics {
    protected $linked_id              = 0; // Verknüpfte ID (Fahrer o. Team)
    protected $alltime_wins           = 0;
    protected $alltime_top5           = 0;
    protected $alltime_points         = 0;
    protected $alltime_penalty_points = 0;
    private   $alltime_poles          = 0;
    private   $alltime_finished       = 0;

    function DriverStatistics($driverId)
    {
        $this->linked_id = $driverId;
    }

    public function GetAlltimeWins()
    {
        return $this->alltime_wins;
    }

    public function GetAlltimeTop5()
    {
        return $this->alltime_top5;
    }

    public function GetAlltimePoints()
    {
        return $this->alltime_points;
    }

    public function GetAlltimePPs()
    {
        return $this->alltime_penalty_points;
    }

    public function GetAlltimePoles()
    {
        return $this->alltime_poles;
    }

    public function GetAlltimeFinished()
    {
        return $this->alltime_finished;
    }

}

?>
